package chinatelecom.feilong.framework.web.license.dao;

import chinatelecom.feilong.framework.common.jpa.JpaRepository;
import chinatelecom.feilong.framework.web.license.entity.License;
import chinatelecom.feilong.framework.web.license.entity.LicenseTemplate;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * Created by CJ on 2017/10/13.
 */
public interface ILicenseTemplateDao extends JpaRepository<LicenseTemplate, Integer> {
     /**
      *
      * @Title: getLicenseType
      * @Description: 获取license版本信息的集合
      * @return List<LicenseTemplate>
      * @throws
      */
     @Query(value = "select * from tbl_license_template ",nativeQuery = true)
     List<LicenseTemplate> getLicenseType();

}
